class ApplicationController < ActionController::Base
  protect_from_forgery


  def wday_to_s(wday = Date.today.wday)
    case wday
    when 0
      "sunday"
    when 1
      "monday"
    when 2
      "tuesday"
    when 3
      "wednesday"
    when 4
      "thursday"
    when 5
      "friday"
    when 6
      "saturday"
    end
  end

end
